home *** CD-ROM | disk | FTP | other *** search
- Path: news.muc.de!hwg!heinz
- Subject: Re: GetSysTime() accuracy
- Newsgroups: comp.sys.amiga.programmer
- References: <4khkab$7p2@toad.stack.urc.tue.nl> <jdj91fzso39.fsf@hyppynaru.cs.hut.fi>
- Organization: Private
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
- From: heinz@hwg.muc.de (Heinz Wrobel)
- Message-ID: <heinz.17uf@hwg.muc.de>
- Date: Wed, 17 Apr 96 20:49:53 GMT
-
- Osma Ahvenlampi (oahvenla@hyppynaru.cs.hut.fi) wrote:
- >the calls to GetSysTime() will actually be synchronised to the CIA
- >clock itself because of the task switches you cause by doing an I/O
-
- Cough, cough. GetSysTime() doesn't cause any task switches.
-
- >operation. That's why the results are milliseconds apart, and pretty
- >well tied to even thousands.
-
- Cough, cough. The CIAs run with ~ 1MHz, not with ~1kHz.
-
- >20000 times within Forbid(), I still got 20 millisecond delays after
- >each 500 or so calls. I can't explain this immediately, but do note
-
- I am not sure why this happens either. It could be interesting to
- look into it.
-
- >I don't think you will gain any significant increase of accuracy by
- >using the CIA directly. GetSysTime() is about as low-level a call as I
- >can imagine.
-
- Yes. DO NOT HIT THE HW!
-
-
- --
- Heinz Wrobel Private Mail: heinz@hwg.muc.de
- My private FAX: +49 89 850 51 25, I prefer email
-